package com.kaochong.xcx.dao;

import com.kaochong.xcx.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
	
    /**************************自定义方法****************************/
	User findByOpenId(String openId);
    
    int insertUser(User user);
	
	List<User> findAllLuckyUser(String prizeDate);
}